package com.daka.dao;

import com.daka.entity.Project;
import com.daka.mybatis.SQLMapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository(value = "projectDao")
@SQLMapper
public interface ProjectDao {
    int deleteByPrimaryKey(Long id);

    int insert(Project record);

    Project selectByPrimaryKey(Long id);

    Project selectByTeamId(Long id);

    List<Project> selectByStatement(Project record);

    int selectByStatementCount(Project record);

    int updateByPrimaryKeySelective(Project record);

    List<Project> findByUserIdGroup(Long id);

}